package com.jsyl.lwbk.business.service.education;

import com.jsyl.lwbk.business.domain.education.TrainingProgram;
import com.jsyl.lwbk.business.dto.education.TrainingProgramListDTO;
import com.jsyl.lwbk.business.dto.education.UpdateTrainingProgramListDTO;

import java.util.List;

/**
 * @author jh
 * @date 2020-11-02 16:18
 * @desc
 **/
public interface ITrainingProgramService {

    TrainingProgram findbyId(Long id);

    List<TrainingProgram> findList(TrainingProgramListDTO trainingProgramListDTO);

    List<TrainingProgram> findTrainingProgramList(String trainingProgramNumber);

    List<TrainingProgram> listAvaliable(TrainingProgramListDTO trainingProgramListDTO);

    void update(UpdateTrainingProgramListDTO updateTrainingProgramListDTO, String loginName);

    void updateTrainingLevel(String sql);

    String importTrainingProgram(List<TrainingProgram> programList,String operName);

    int subjectCount(Long questionId,Integer trainScore);
}
